<!DOCTYPE html>
<html>
<head>
    <title>年检管理</title>
    <meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Author" content="larry" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
<link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
<script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
<script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
<script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
<script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
<script type="text/javascript" src="../../statics/js/upload.js"></script>
<script type="text/javascript" src="../../statics/common/step/steps.js"></script>
<link rel="stylesheet" href="../../statics/css/jxcPublicAll.css"  media="all">
<link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
<link rel="stylesheet" href="../../statics/common/step/steps.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
<link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
<script src="../../statics/js/modules/cropper/cropper.min.js"></script>
<script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
<script src="../../statics/common/layui/autocomplete.js"></script>
<script  src="../../statics/js/modules/viewer/viewer.min.js"></script>
<script src="../../statics/common/print-js/print.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
<script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/searchview.js"></script>
<script type="text/javascript" src="../../statics/js/tableedit.js"></script>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

<!-- 引入组件库 -->
<link rel="stylesheet" type="text/css" href="../../statics/css/index.css">






</head>
<body class="ren-body">
<div id="rrapp" v-cloak>

    <div class="list-search-title-box">
        <form class="layui-form" style="box-shadow: 0 0 20px #eee;padding-right: 15px;">
            <section class="jxc-section" style="display: flex;align-items: flex-start;white-space: nowrap;">
                <div class="card layui-row" style="flex: 1">
                    <div class="layui-form-item ">
                        <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                            <label class="layui-form-label">车牌号/车架号</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input searchVal" v-model="q.carNoAndVinNo"
                                       placeholder="请输入车牌号/车架号"/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                            <label class="layui-form-label">车辆归属</label>
                            <div class="layui-input-inline">
                                <input v-model="q.dept" type="text"   style="cursor:pointer;"   @click="deptTree" readonly="readonly"
                                       class="layui-input searchVal"
                                       placeholder="请选择车辆归属" />

                            </div>
                        </div>
                        <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                            <label class="layui-form-label">品牌/车系/车型:</label>
                            <div class="layui-input-inline">
                                <input type="text" id="carBrandSeriesModel"  class="layui-input" placeholder="请选择品牌/车系/车型" readonly="readonly"/>
                            </div>
                        </div>

                        <section v-show="isFilter">
                            <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">车辆状态</label>
                                <div class="layui-input-inline">
                                    <select  name="vehicleStatus" lay-filter="vehicleStatus" v-model="q.vehicleStatus">
                                        <option value="">请选择车辆状态</option>
                                        <option value="1">整备中</option>
                                        <option value="2">备发车</option>
                                        <option value="3">预定中</option>
                                        <option value="4">用车中</option>
                                        <option value="5">已过户</option>
                                        <option value="6">已处置</option>
                                        <option value="7">已出售</option>
                                    </select>
                                </div>
                            </div>
                            <!--<div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">客户名称</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input searchVal" v-model="q.customerName"
                                           placeholder="请输入客户名称"/>
                                </div>
                            </div>
                            <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">订单编号</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input searchVal" v-model="q.vehicleOrderNo"
                                           placeholder="请输入订单编号"/>
                                </div>
                            </div>-->
                            <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">所在仓库:</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input searchVal" v-model="q.depotName"
                                           @click="chooseWarehouse"   placeholder="请选择所在仓库"/>
                                    <input type="hidden" class="layui-input searchVal" v-model="q.depotId" />
                                </div>
                            </div>
                            <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">车辆所有人</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input searchVal" v-model="q.carOwner"
                                           placeholder="请输入车辆所有人"/>
                                </div>
                            </div>
                            <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">年检时效</label>
                                <div class="layui-input-inline">
                                    <select  name="inspectionStatus" lay-filter="inspectionStatus" v-model="q.inspectionStatus">
                                        <!-- <option value="">请输入年检状态</option>
                                         <option value=0>待年检</option>
                                         <option value=1>已年检</option>-->
                                        <option value="">请选择年检时效</option>
                                        <option value=0>失效</option>
                                        <option value=1>有效</option>
                                    </select>
                                </div>
                            </div>


                            <!--<div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">车辆用途</label>
                                <div class="layui-input-inline">
                                    <select  name="leaseType" lay-filter="leaseType" v-model="q.leaseType">
                                        <option value="">请选择租车类型</option>
                                        <option value="1">经租</option>
                                        <option value="2">以租代购</option>
                                        <option value="3">展示车</option>
                                        <option value="4">试驾车</option>
                                        <option value="5">融租</option>
                                        <option value="6">直购</option>
                                    </select>
                                </div>
                            </div>-->
                            <!--<div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                <label class="layui-form-label">所在城市</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input searchVal" v-model="q.city"
                                           placeholder="请输入所在城市"/>
                                </div>
                            </div>-->

                            <!-- <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                 <label class="layui-form-label">年检申请单</label>
                                 <div class="layui-input-inline">
                                     <input type="text" class="layui-input searchVal" v-model="q.inspectionNo"
                                            placeholder="请输入年检申请单"/>
                                 </div>
                             </div>
                             <div class="layui-inline layui-col-md4 layui-col-sm6 layui-col-xs12">
                                 <label class="layui-form-label">年检时间</label>
                                 <div class="layui-input-inline">
                                     <input type="text" class="layui-input searchVal" id="inspectionDate" v-model="q.inspectionDate"
                                            readonly="readonly"
                                            placeholder="开始时间-结束时间"/>
                                 </div>
                             </div>-->
                            <div class=" flex-box layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                <label class="layui-form-label">本次年检时间:</label>
                                <div class="list-search-sup-title new-layui-title">
                                    <div class="list-search-sup-title new-layui-title">
                                        <div class="task-content-box-tab">
                                            <div class="display task-content-box-tab layui-col-md8 layui-col-sm8 layui-col-xs12" type="repairStartDate">
                                                <div value="0" class="layui-col-md2 layui-col-sm2 layui-col-xs2">昨天</div>
                                                <div value="1" class="layui-col-md2 layui-col-sm2 layui-col-xs2">今日</div>
                                                <div value="2" class="layui-col-md2 layui-col-sm2 layui-col-xs2">上周</div>
                                                <div value="3" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本周</div>
                                                <div value="4" class="layui-col-md2 layui-col-sm2 layui-col-xs2">上月</div>
                                                <div value="5" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本月</div>
                                                <div value="6" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本季</div>
                                                <div value="7" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本年</div>
                                            </div>
                                            <div class="layui-col-md4 layui-col-sm4 layui-col-xs12">
                                                <input type="text" class="layui-input" id="repairStartDate" v-model="q.repairStarDateStr" readonly placeholder="选择日期范围" style="width: 300px;" autocomplete="off">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class=" flex-box layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                <label class="layui-form-label">下次年检时间:</label>
                                <div class="list-search-sup-title new-layui-title">
                                    <div class="task-content-box-tab">
                                        <div class="display task-content-box-tab layui-col-md8 layui-col-sm8 layui-col-xs12" type="repairEndDate">
                                            <div value="0" class="layui-col-md2 layui-col-sm2 layui-col-xs2">昨天</div>
                                            <div value="1" class="layui-col-md2 layui-col-sm2 layui-col-xs2">今天</div>
                                            <div value="2" class="layui-col-md2 layui-col-sm2 layui-col-xs2">上周</div>
                                            <div value="3" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本周</div>
                                            <div value="4" class="layui-col-md2 layui-col-sm2 layui-col-xs2">上月</div>
                                            <div value="5" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本月</div>
                                            <div value="6" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本季</div>
                                            <div value="7" class="layui-col-md2 layui-col-sm2 layui-col-xs2">本年</div>
                                        </div>
                                        <div class="layui-col-md4 layui-col-sm4 layui-col-xs12">
                                            <input type="text" class="layui-input" id="repairEndDate" v-model="q.repairEndDateStr" readonly placeholder="选择日期范围" style="width: 300px;" autocomplete="off">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </section>
                    </div>
                </div>
                <div style="display: flex;align-items: center;">
                    <a class="layui-btn search-btn" @click="query">查询</a>
                    <a class="layui-btn reset-btn" @click="reset">重置</a>
                    <div @click="bindFilter" style="margin-left: 10px;cursor: pointer;user-select: none;">
                        <span style="color: #2251C5;">高级筛选</span>
                        <img src="../../../statics/images/高级筛选@2x.png" style="width:14px">
                    </div>
                </div>
            </section>
        </form>
    </div>
    <div class="list-search-title-box">
        <form class="layui-form">
            <div style="display:flex;width: 100%;">
                <div class="layui-form-item layui-row" style="width: 100%;">
                    <div class="list-search-form-button" style="width: 100%;">
                        <a class="layui-btn search-btn" @click="exports">导出</a>
                        <a class="layui-btn reset-btn" @click="add" v-m-perm="['maintenance:inspectionmanage:save']">创建年检单</a>
                    </div>
                </div>
            </div>
        </form>
    </div>


    <table class="layui-hide" id="grid" lay-filter="grid"></table>
    <!-- 表单 -->
    <form v-show="showForm" class="layui-form ren-form" id="editForm">
        <div class="form-content-box" v-show="carNoAndVinNoDiv">
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">选择车牌号:</label>
                            <div class="layui-input-inline">
                                <input v-model="inspectionManage.carNo"  lay-verify="carNoVerify" id="carNo"   @click="selectCarNo" type="text" class="layui-input searchVal"  placeholder="请选择车牌号" readonly/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">车架号:</label>
                            <div class="layui-input-inline">
                                <input v-model="inspectionManage.vinNo" lay-verify="vinNoVerify" id="vinNo" @click="selectVinNo"  type="text" class="layui-input searchVal"  placeholder="请选择车架号" readonly/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-content-box">
            <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                基础信息
            </div>
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="carNoDiv">
                            <label class="layui-form-label">车辆号:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.carNo"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" >
                            <label class="layui-form-label">车辆品牌/车型:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.brandAndCarModel"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">车架号:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.vinNo"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="edithidden">
                            <label class="layui-form-label">客户名称:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.customerName"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">车辆状态:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.vehicleStatusShow"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="edithidden">
                            <label class="layui-form-label">车辆订单号:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.vehicleOrderNo"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">车辆所属公司:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.company"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="edithidden">
                            <label class="layui-form-label">租赁开始时间:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.rentStartTime"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6" v-show="edithidden">
                            <label class="layui-form-label">租赁结束时间:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="选择车牌号自动获取"
                                        v-model="inspectionManage.rentEndTime"
                                        disabled/>
                            </div>
                        </div>
                        <!--<div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">-->
                            <!--<label class="layui-form-label">车辆用途:</label>-->
                            <!--<div class="layui-input-inline">-->
                                <!--<input-->
                                        <!--type="text"-->
                                        <!--class="layui-input searchVal"-->
                                        <!--placeholder="选择车牌号自动获取"-->
                                        <!--v-model="inspectionManage.carPurposeShow"-->
                                        <!--disabled/>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">-->
                            <!--<label class="layui-form-label">车辆所属仓库:</label>-->
                            <!--<div class="layui-input-inline">-->
                                <!--<input-->
                                        <!--type="text"-->
                                        <!--class="layui-input searchVal"-->
                                        <!--v-model="inspectionManage.depotName"-->
                                        <!--disabled/>-->
                            <!--</div>-->
                        <!--</div>-->
                    </div>
                </div>
            </div>
        </div>
        <div class="form-content-box">
            <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                年检
            </div>
            <div class="form-content-session-box">
                <div class="card">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">本次年检时间:</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" id="thisTimeInspectionTime" v-model="inspectionManage.thisTimeInspectionTime" placeholder="选择本次年检时间" readonly>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">下次年检时间:</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" id="nextInspectionTime" v-model="inspectionManage.nextInspectionTime" placeholder="选择下次年检时间" readonly>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">年审年份:</label>
                            <div class="layui-input-inline">
                                <input
                                        id="inspectionYear"
                                        type="text"
                                        class="layui-input searchVal"
                                        placeholder="根据本次年检的年份自动获取"
                                        v-model="inspectionManage.inspectionYear"
                                        disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">年检费用/元:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        v-model="inspectionManage.inspectionAmount"
                                        placeholder="填写年检费用/元" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">年审代理人:</label>
                            <div class="layui-input-inline">
                                <input
                                        type="text"
                                        class="layui-input searchVal"
                                        v-model="inspectionManage.inspectionAgent"
                                        placeholder="请输入年审代理人" />
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">付款对象:</label>
                            <div class="layui-input-inline">
                                <select  name="inspectionPayId"  lay-filter="inspectionPayId"   v-model="inspectionManage.inspectionPayId"    class="layui-select"   >
                                    <option value="">请选择付款对象</option>
                                    <option v-for="r in inspectionPayIds" :value="r.code">{{r.value}}</option>
                                </select>
                            </div>
                        </div>

                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">备注:</label>
                            <div class="layui-input-inline">
                                <textarea name="desc" v-model="inspectionManage.desc" placeholder="请输入备注说明" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">附件:</label>
                            <div class="layui-input-inline">
                                <div class="layui-input-inline-upload">
                                    <div :id="deliveryFileLstId" class="layui-input-inline-upload-show box-rect"
                                         v-for="(item,index) in deliveryFileLst">
                                        <div v-show="item.typeFile == 1" class="layui-input-inline-upload-button">
                                            <img :src="imageURL + item.url" class="view-img">
                                        </div>
                                        <div v-show="item.typeFile != 1" class="layui-input-inline-upload-button">
                                            {{item.nameAccessory}}
                                        </div>
                                        <div class="layui-input-inline-upload-show-delete btn-event"
                                             @click="delDeliveryFile(item.id)">
                                            删除
                                        </div>
                                    </div>
                                    <div class="layui-input-inline-upload-button box-rect box-rect-event"
                                         id="addDeliveryFile">
                                        <img src="../../statics/images/inline-upload@2x.png">
                                    </div>
                                </div>
                                <div class="layui-input-inline-upload-text" style="padding-bottom: 10px">附件说明：附件最大支持50M，
                                    <br/>
                                    支持格式：PDF、Word、Excel、JPG、PNG 、ZIP、RAR
                                </div>
                            </div>
                        </div>
                        <div class="float-btn-group">
                            <a class="layui-btn reset-btn" @click="cancel">取消</a>
                            <a class="layui-btn search-btn" lay-submit lay-filter="submitEditData">保存</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<!--操作-->
<script type="text/html" id="barTpl">
    <a class="layui-grid-btn-xs" lay-event="detail" more-btn-index="{{d.LAY_INDEX-1}}">查看</a>
    <a class="layui-grid-btn-xs" lay-event="edit" more-btn-index="{{d.LAY_INDEX-1}}">编辑</a>
    {{#  if(d.remaining > 0){ }}
    <a class="layui-grid-btn-xs" lay-event="inspection" more-btn-index="{{d.LAY_INDEX-1}}">年检</a>
    {{#  } }}
</script>

<script src="../../statics/js/modules/maintenance/inspectionmanage.js?_${.now?long}"></script>
</body>
</html>
